function _truste_eu(){function w(k){return(k=RegExp("Chrom(e|ium)","ig").exec(k))&&k.length?!0:!1}function v(k,m){var a=RegExp("Chrom[^ /]+[/](\\d+)[.\\d]* ","ig").exec(m);return a&&2===a.length?+a[1]>=k:!1}function u(){var k=truste.eu.bindMap;k.feat.isConsentRetrieved=k.feat.crossDomain?k.feat.isConsentRetrieved:!0;if(!u.done&&k.feat.isConsentRetrieved){u.done=!0;truste.eu.ccpa.initialize();truste.eu.dnt();var m=function(){var a=truste.eu.bindMap;if(a.feat.consentResolution){var c=truste.util.readCookie(truste.eu.COOKIE_GDPR_PREF_NAME, !0);if(c&&(c=c.split(":"),!RegExp(a.behavior+"."+a.behaviorManager).test(c[2])&&(/(,us|none)/i.test(c[2])||"eu"==a.behaviorManager&&/implied.eu/i.test(c[2]))))return!0}return!1},a=function(){var a=(new Date).getTime(),c=truste.util.readCookie(truste.eu.COOKIE_REPOP,!0),d=truste.eu.bindMap.popTime;return d&&d!=c&&a>=d}();a&&(k.feat.dropPopCookie=!0);k.feat.isDNTOptoutEvent?k.feat.dntShowUI&&"expressed"==k.behavior&&(truste.eu.clickListener(truste.eu.noticeLP.pn,!0),truste.eu.msg.log("consent",k,k.messageBaseUrl)): null!=truste.util.getIntValue(k.prefCookie)?("expressed"==k.behavior&&(a||m())&&(k.feat.isRepopEvent=!0,k.feat.isReconsentEvent=a,truste.eu.clickListener(truste.eu.noticeLP.pn,!0)),truste.eu.msg.log("returns",k,k.messageBaseUrl)):"expressed"==k.behavior&&(truste.eu.clickListener(truste.eu.noticeLP.pn,!0),truste.eu.msg.log("consent",k,k.messageBaseUrl))}}truste=self.truste||{};truste.eu=truste.eu||{};truste.eu.version="v1.7-158";truste.eu.COOKIE_DAX_NAME="notice_dax_signature";truste.eu.COOKIE_GDPR_PREF_NAME= "notice_gdpr_prefs";truste.eu.COOKIE_PREF_NAME="notice_preferences";truste.eu.COOKIE_CATEGORY_NAME="optout_domains";truste.eu.COOKIE_REPOP="notice_poptime";truste.eu.COOKIE_BEHAVIOR="notice_behavior";truste.eu.COOKIE_UID="TAconsentID";Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(k,m){if(null==this)throw new TypeError('"this" is null or not defined');var a=Object(this),b=a.length>>>0;if(0===b)return!1;for(var c=m|0,c=Math.max(0<=c?c:b-Math.abs(c),0);c< b;){if(a[c]===k||"number"===typeof a[c]&&"number"===typeof k&&isNaN(a[c])&&isNaN(k))return!0;c++}return!1},configurable:!0});String.prototype.includes||(String.prototype.includes=function(k,m){"number"!==typeof m&&(m=0);return m+k.length>this.length?!1:-1!==this.indexOf(k,m)});truste.util=truste.util||{};truste.util.getUniqueID=function(){return"truste_"+Math.random()};truste.util.getIntValue=function(k){k=parseInt(k);return isNaN(k)?null:k};truste.util.validConsent=function(k){return null!=truste.util.getIntValue(k)&& -1self.location.hostname.indexOf(".")||0new Date&&truste.util.createCookie(a,c.value,e.toString(), !0)}else truste.util.createCookie(a,d);c=d}return c};truste.util.createCookie=function(a,b,c,d){truste.util.cookie&&truste.util.cookie.convert&&(b=truste.util.cookie.convert(b));var f="; expires=";if(c)f="0"==c?"":f+c;else{var e=new Date;e.setDate(e.getDate()+truste.eu.bindMap.cookieExpiry);f+=e.toGMTString()}d&&truste.util.createCookieStorage(a,b,e);d=truste.eu.bindMap&&truste.eu.bindMap.domain;e=self.location.hostname;c=!!e.match(/^\d{0,3}\.\d{0,3}\.\d{0,3}\.\d{0,3}$/)||"localhost"==e;var l=RegExp("[.]"+ d+"$|^"+d+"$");d=d&&l.test(e)?d:c?e:e.replace(/^www\./,"");e="https:"==self.location.protocol?" Secure;":"";l=RegExp("[(]iP.+; CPU .*OS (\\d+)[_\\d]*.*[)] AppleWebKit[/]","ig").exec(navigator.userAgent);if(!(l=l&&2===l.length?12===+l[1]:!1)){if((l=RegExp("[(]Macintosh;.*Mac OS X (\\d+)_(\\d+)[_\\d]*.*[)] AppleWebKit[/]","ig").exec(navigator.userAgent))&&3===l.length)var p=+l[2],l=10===+l[1]&&14===p;else l=!1;l&&(l=navigator.userAgent,p=RegExp("Version[/].* Safari[/]","ig").exec(l),(l=p&&p.length? !w(l):!1)||(l=(l=RegExp("^Mozilla[/][.\\d]+ [(]Macintosh;.*Mac OS X [_\\d]+[)] AppleWebKit[/][.\\d]+ [(]KHTML, like Gecko[)]$","ig").exec(navigator.userAgent))&&l.length?!0:!1))}if(!l)if(l=navigator.userAgent,p=(p=RegExp("UCBrowser[/]","ig").exec(l))&&p.length?!0:!1,p){var n=RegExp("UCBrowser[/](\\d+)[.](\\d+)[.](\\d+)[.\\d]* ","ig").exec(l);n&&4===n.length?(l=+n[1],p=+n[2],n=+n[3],l=12!=l?12b&&(b=c);return b};truste.eu.onBeforeUnload=function(a){return"Please allow optouts to finish before navigating out of the page!"};truste.eu.showThrobber=function(){var a=self.document.getElementById("truste.eu.throbber");if(!a){a=self.document.createElement("div");a.id="truste.eu.throbber";var b=self.document.createElement("img");b.src=truste.eu.bindMap.assetServerURL+"throbber.gif";b.style.border= "0";b.style.opacity="0.5";b.style.width="16px";b.style.height="16px";b.style.verticalAlign="middle";b.style.marginRight="5px";a.appendChild(b);a.appendChild(document.createTextNode("Processing Opt-outs"));a.style.position="fixed";a.style.bottom="0";a.style.right="20px";a.style.background="white";a.style.border="1px solid #dddddd";a.style.borderBottom="none";a.style.font="10px Arial,sans-serif";a.style.color="#676767";a.style.padding="5px 10px"}self.document.getElementsByTagName("body")[0].appendChild(a); self.onbeforeunload||(self.onbeforeunload=truste.eu.onBeforeUnload)};truste.eu.hideThrobber=function(a){(a||(a=self.document.getElementById("truste.eu.throbber")))&&a.parentNode&&a.parentNode.removeChild(a);self.onbeforeunload==truste.eu.onBeforeUnload&&(self.onbeforeunload=null)};truste.eu.showCM=function(a){try{var b,c;a="false"==a?"hidden":a?"visible":"hidden";if(c=(b=self.document.getElementById(truste.eu.popdiv))&&self.document.getElementById(truste.eu.popdiv2))return b.style.visibility=a,c.style.visibility= a,!0}catch(d){truste.eu.error("Error showing CM",d)}return!1};truste.eu.error=function(a,b,c){c=c||{};c.mod="eu";c.domain=c.domain||truste.eu.bindMap&&truste.eu.bindMap.domain||void 0;c.caller=self.location.hostname;c.path=self.location.pathname;truste.util.error(a,b,c)};truste.eu.icon={};truste.eu.icon.make=function(a){if(!truste.eu.prefButton){var b=truste.eu.bindMap,c=truste.eu.prefButton=self.document.createElement("a");b.feat.enableIconRole&&c.setAttribute("role",b.iconRole?b.iconRole:"true"== b.text?"link":"button");truste.util.addListener(c,"click",a);c.id=truste.eu.iconid=("icon-id"+Math.random()).replace(".","");c.tabIndex="0";c.setAttribute("lang",b.language);truste.util.addListener(c,"keydown",function(a){a||(a=window.event);var b=a.which||a.keyCode;if(13==b||32==b)a.preventDefault?a.preventDefault():event.returnValue=!1,c.click()});"true"==b.text&&b.icon?(c.style.cursor="pointer",c.innerHTML=b.icon):(a=self.document.createElement("img"),a.style.border="none",a.style.cursor="pointer", a.onerror=function(){truste.eu.icon.make()},c.appendChild(a),a=b.assetServerURL+(b.cookiePreferenceIcon||b.language+"-cookiepreferencestext.png"),c.firstChild.src?"en"!=b.language&&c.firstChild.src==a?c.firstChild.src=b.assetServerURL+b.cookiePreferenceIcon.substring(3):(c.style.cursor="pointer",c.innerHTML=b.icon):(c.firstChild.src=a,c.firstChild.alt="Cookie Preference"))}};truste.eu.icon.show=function(){var a=truste.eu.prefButton,b=truste.eu.caIcon;if(b){b.appendChild(a);b.setAttribute("consent", truste.eu.bindMap.prefCookie);b.setAttribute("aria-label","Open Cookie Preferences Modal");if("eu"!=truste.eu.bindMap.behaviorManager||"expressed"==truste.eu.bindMap.behavior)b.style.display=truste.util.getDisplayProperty(b);a=truste.eu.bindMap;a.feat.enableContainerRole&&b.setAttribute("role",a.containerRole?a.containerRole:"complementary")}else truste.eu.jsNode1&&truste.eu.jsNode1.parentNode.insertBefore(a,truste.eu.jsNode1)};truste.eu.icon.initialize=function(){var a=truste.eu.bindMap;truste.eu.caIcon= self.document.getElementById(a.containerId)||self.document.getElementById("teconsent");var b=a.containerId==decodeURI("%5F%4C%42c%4C%42%5F")?null:a.containerId;if(truste.eu.caIcon||!b&&truste.eu.jsNode1&&"HEAD"!=truste.eu.jsNode1.parentNode.nodeName&&(truste.eu.caIcon=truste.eu.jsNode1.parentNode))truste.eu.icon.show();else if(b)var c=setInterval(function(){truste.eu.caIcon=truste.eu.caIcon||self.document.getElementById(a.containerId)||self.document.getElementById("teconsent");truste.eu.caIcon&&(clearInterval(c), truste.eu.icon.show())},100)};truste.eu.irm={};truste.eu.irm.initialize=function(){var a=truste.eu.bindMap,b=setInterval(function(){truste.eu.irmLinkContainer=truste.eu.irmLinkContainer||self.document.getElementById(a.irmContainerId);truste.eu.irmLinkContainer&&(clearInterval(b),truste.eu.irm.show())},100)};truste.eu.irm.show=function(){var a=truste.eu.irmLink,b=truste.eu.irmLinkContainer;b&&(b.appendChild(a),b.style.display=truste.util.getDisplayProperty(b),a=truste.eu.bindMap,a.feat.enableContainerRole&& b.setAttribute("role",a.containerRole?a.containerRole:"complementary"))};truste.eu.irm.make=function(a){if(!truste.eu.irmLink){var b=truste.eu.bindMap,c=truste.eu.irmLink=self.document.createElement("a");truste.util.addListener(c,"click",a);c.id=truste.eu.irmId=("irm-id-"+Math.random()).replace(".","");c.tabIndex="0";b.feat.enableIconRole&&c.setAttribute("role",b.iconRole?b.iconRole:"link");c.setAttribute("lang",b.language);truste.util.addListener(c,"keydown",function(a){a||(a=window.event);var b= a.which||a.keyCode;if(13==b||32==b)a.preventDefault?a.preventDefault():event.returnValue=!1,c.click()});c.style.cursor="pointer";c.innerHTML=b.irmText}};truste.eu.ccpa={};truste.eu.COOKIE_USPRIVACY="usprivacy";truste.eu.USP_VERSION="1";truste.eu.USP_FILE_NAME="uspapi.js";truste.eu.ccpa.uspString=function(a){var b=truste.eu.bindMap,c="1---";b.feat.ccpaApplies&&(b=/^[nNyY-]$/.test(b.lspa)?b.lspa:"-",c=truste.eu.USP_VERSION+"Y"+(a?"Y":"N")+b);return c};truste.eu.ccpa.dropCcpaCookie=function(a){truste.eu.bindMap.feat.enableCCPA&& truste.util.createCookie(truste.eu.COOKIE_USPRIVACY,truste.eu.ccpa.uspString(a))};truste.eu.ccpa.getOptout=function(){var a=truste.util.readCookie(truste.eu.COOKIE_USPRIVACY);return/^[1][nNyY-][nNyY-][nNyY-]$/.test(a)?a.charAt(2):null};truste.eu.ccpa.showLink=function(){var a=truste.eu.bindMap,b=truste.eu.ccpaLink=self.document.createElement("a");truste.util.addListener(b,"click",function(){truste.bn.reopenBanner&&truste.bn.reopenBanner()});b.id=truste.eu.irmId=("ccpa-id-"+Math.random()).replace(".", "");b.tabIndex="0";a.feat.enableIconRole&&b.setAttribute("role",a.iconRole?a.iconRole:"link");b.setAttribute("lang",a.language);truste.util.addListener(b,"keydown",function(a){a||(a=window.event);var c=a.which||a.keyCode;if(13==c||32==c)a.preventDefault?a.preventDefault():event.returnValue=!1,b.click()});b.style.cursor="pointer";b.innerHTML=a.ccpaText;var c=document.getElementById(a.containerId);c&&(c.appendChild(b),c.style.display=truste.util.getDisplayProperty(c),a.feat.enableContainerRole&&c.setAttribute("role", a.containerRole?a.containerRole:"complementary"))};truste.eu.ccpa.initialize=function(){var a=truste.eu.bindMap;a.feat.enableCCPA&&truste.util.addScriptElement(a.assetServerURL+truste.eu.USP_FILE_NAME,function(){a.prefCookie||truste.eu.ccpa.dropCcpaCookie(!1);if(a.feat.ccpaApplies)var b=setInterval(function(){self.document.getElementById(a.containerId)&&(clearInterval(b),truste.eu.ccpa.showLink())},100);setTimeout(function(){clearInterval(b)},1E4)})};truste.eu.SOURCE_SERVER=truste.eu.SOURCE_SERVER|| "//consent.trustarc.com/notice".replace(/^\w{3,5}:/,"");truste.eu.SCRIPT_REGX=truste.eu.SCRIPT_REGX||/\.(truste|trustarc)\b.*\bnotice(\.0)?(\.exp)?(\.js)?\b.*\bdomain=/;truste.util.COOKIE_NS="truste.eu.cookie.";truste.eu.JS_REGX=truste.eu.JS_REGX||(truste.eu.bindMap&&truste.eu.bindMap.domain?"domain="+truste.eu.bindMap.domain:void 0);truste.eu.init=function(a,b){var c=truste.eu.bindMap;if(2==b)return truste.util.error("Failed to load binding JS at URL: "+a.src);if(!c)return truste.util.trace("Did not load JS0"); if(truste.eu.bindMap.feat.uidEnabled){var d=truste.util.readCookieStorage(truste.eu.COOKIE_UID);if(null==d)var f=window.crypto||window.msCrypto,d=([1E7]+-1E3+-4E3+-8E3+-1E11).replace(/[018]/g,function(a){return(a^f.getRandomValues(new Uint8Array(1))[0]&15>>a/4).toString(16)});truste.eu.consentUID=d}c.backgroundImage="url("+c.assetServerURL+"trans.png)";c.domain&&(truste.eu.noticeLP.domain=c.domain);c.behavior&&(truste.eu.noticeLP.behavior=c.behavior);c.country&&c.language&&(truste.eu.noticeLP.locale= c.country+"-"+c.language);truste.eu.noticeLP.pn&&truste.eu.noticeLP.pn.indexOf("-")&&(d=truste.eu.noticeLP.pn.split("-"),1new Number(RegExp.$1)&&"complete"!=truste.util.readyState()?self.addEventListener("load",d,!1):d();c.apiDefaults&&13a.consentDecision)&&a.consentDecisions){var b,d=this.binfo&&this.binfo.gtm_fun_ids||"ga-ms-ua",f=this.binfo&&this.binfo.gtm_adv_ids||"ta-asp-bzi-sp-awct-cts-csm-img-flc-fls-mpm-mpr-m6d-tc-tdc",h,g=d+"-"+f,s=a.consentDecisions.split(/[,|]/);s.includes("1")&&(h="required");s.includes("2")&&(g=g.replace(d, ""),h="functional");s.includes("3")&&(g=g.replace(f,""),h="");g=g.replace(/(^-)|(-$)/,"");a=("permit "+a.consentDecisions+" "+h).trim();b=(b=c.document.cookie.match(/cmapi_cookie_privacy=\s*([^;\\s]*)/))&&b[1];if(b!=a){truste.util.createCookie("cmapi_gtm_bl",g);truste.util.createCookie("cmapi_cookie_privacy",a);if(b=c[this.binfo&&this.binfo.dl||"dataLayer"])b.push({"gtm.blacklist":g}),b.push({event:"cookie_prefs_set"});truste.eu.bindMap.feat.crossDomain&&truste.eu.postMessageToFrame("updatePreference", "","trustarcNoticeFrame",{cmapiBl:g,cmapiPrvcy:a,cookieExpiry:truste.eu.bindMap.cookieExpiry})}}};d.tconsole={};d.tconsole.isDebug=function(){return null!=(c.PrivacyManagerAPI||b).debug?(c.PrivacyManagerAPI||b).debug:0>c.location.hostname.indexOf(".")||0c.location.hostname.indexOf(r)&&(r=null));var t=new Date;t.setDate(395);var u="; expires="+(b?t.toGMTString():"Thu, 01 Jan 1970 00:00:01 GMT")+"; path=/"+(r?"; domain="+r:"");c.document.cookie= a+"="+encodeURIComponent(b)+u;if(f)if(b)d&8||(b=this.cheapJSON({name:a,value:b,expires:t.getTime()})),c.localStorage.setItem(h+a,b);else{c.localStorage.removeItem(h+a);try{delete c.localStorage[h+a]}catch(w){}}}catch(v){this.tconsole.error("error with getStorage",{name:a,value:b},v)}return null};d.sendPost=function(a,b){if(c.postMessage&&a&&a.source&&b){"object"==typeof b&&(b=this.cheapJSON(b));var d=a.origin||a.domain;"null"!=d&&d||(d="*");this.tconsole.log("responding to ("+d+") message : "+b); b&&a.source.postMessage(b,d)}};d.init=function(a,b,c){if(!this._hasLoadedPrefs){b=b||this.fake;try{a&&"string"==typeof a&&(a=this.parseJSON(a));this.tconsole.log("initing with object: ",a);if(a){for(var d in b)b[d]=a[d]||b[d];for(d in this.binfo)this.binfo[d]=a[d]||this.binfo[d];a.blacklist instanceof Array&&(this.blacklist=this.blacklist.concat(a.blacklist))}c&&this.loadOldPrefs&&this.loadOldPrefs(b)}catch(f){this.tconsole.error("Error initing: ",b,f)}}};d.messageListener=function(a){var b,c=a.data&& d.parseJSON(a.data);if(c&&(b=c.PrivacyManagerAPI||d.handleCMMessage(c,a)))if(b.capabilities||b.error)d.tconsole.log("got my own message, returning"),d.tconsole.log(a);else if(b.timestamp&&b.action)try{d.tconsole.log("GOT VALID MESSAGE: "+a.data);var f=d.processMessage(b,a);if(f){for(var h in f)b[h]=f[h];c.PrivacyManagerAPI&&d.sendPost(a,c)}}catch(g){d.caddy=null,b.from=a.origin||a.domain,d.tconsole.error("TRUSTe Consent Manager API unknown error.",b,g),d.sendPost(a,{PrivacyManagerAPI:{error:"An unknown error occurred: "+ g.toString()}})}else b.from=a.origin||a.domain,d.tconsole.error("got invalid postmessage call, missing ts or action",b),d.sendPost(a,'{"PrivacyManagerAPI":{"error":"API Object missing required fields"}}')};b.init=function(a,b){d.init(a,null,b)};c.PREF_MGR_API_DEBUG=d;if(c.postMessage){a=c.window;try{for(;a!=a.parent&&a.parent.document;)a=a.parent}catch(f){}a.addEventListener?(a.addEventListener("message",d.messageListener,!1),a!=c&&c.addEventListener("message",d.messageListener,!1)):(a.attachEvent("onmessage", d.messageListener),a!=c&&c.attachEvent("onmessage",d.messageListener))}d.fake.consentDecision=null;d.fake.capabilities.push("getConsentDecision","getGDPRConsentDecision","getConsentCategories");b.version="1.7";return b}(truste.eu.noticeLP);self.TRUSTE_CMAPI_DEBUG=self.PREF_MGR_API_DEBUG;truste.cma.debug=truste.util.debug;truste.eu.bindMap?truste.eu.init(null,1):truste.util.addScriptElement(truste.eu.SOURCE_SERVER+"?js=1&"+truste.eu.noticeLP._query,truste.eu.init,null,!0)} self._truste&&(self._truste.eu=_truste_eu)||_truste_eu();